<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <h1>AJAX hello<span id="myName"></span></h1>
    <button type="submit" id="getCSS">获取css</button>
    <button type="submit" id="getJS">获取JS</button>
    <button type="submit" id="getHTML">获取HTML</button>
    <button type="submit" id="getXML">获取XML</button>
    <button type="submit" id="getJSON">获取JSON</button>
    <button type="submit" id="getPage">请求下一页</button>
    <div>
        {{page1}}
    </div>
    <script src="main.js"></script>
</body>

</html>